package com.ck.ck_back.dao;

import com.ck.ck_back.pojo.Collect;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CollectMapper {
    int deleteByPrimaryKey(Integer collectId);

    int insert(Collect record);

    int insertSelective(Collect record);

    Collect selectByPrimaryKey(Integer collectId);

    int updateByPrimaryKeySelective(Collect record);

    int updateByPrimaryKey(Collect record);

    int select_collect_num(String user_id,int production_id);

    Collect selectbytwoid(String user_id,int production_id);

    List<Collect> getall(String user_id);
}